# @Version        : 1.0
# @Update Time    : 2025/3/18 21:43
# @File           : post_service.py
# @IDE            : PyCharm
# @Desc           : 文件描述信息
from advanced_alchemy import service
from src import models
from src.crud.post_repository import PostRepo


class PostService(service.SQLAlchemyAsyncRepositoryService[models.SysPost, PostRepo]):
    repository_type = PostRepo
    count_with_window_function = True
